<script>
    
    const name = "小李"
    const age = 26

    // 传统
    const PERSON1 = {name: name, age: age}
    console.log(PERSON1);
    
    // ES6
    const PERSON2 = {name, age}
    console.log(PERSON2);


</script>